const webpack = require('webpack')
module.exports = {
	outputDir: __dirname + '/../server/web',
	publicPath: process.env.NODE_ENV === 'production' ?
		'/' :
		'/',
	chainWebpack: config => {
		config.plugin('provide').use(webpack.ProvidePlugin, [{
			'window.Quill': 'quill/dist/quill.js',
			'Quill': 'quill/dist/quill.js'
		}]);
	}
}
